import store from '@/plugins/store.js'
export default {
  bind(el, binding) {
    const pagePermission = store.getters.btn_permission;
    const isInclude = pagePermission.includes(binding.value);
    if (isInclude) {
      el.style.cssText += ';display: inline-block'
    } else {
      el.style.cssText += ';display: none'
    }
  }
}
